package com.andengine.editor.sceneeditor;

import com.andengine.editor.factories.Sprite;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * @author sad
 */
public class Layer {

    private String name;

    private List<Sprite> sprites = new ArrayList<Sprite>();

    public Layer(String name) {
        this.name = name;
    }

    public List<Sprite> getSprites() {
        return sprites;
    }

    public void setSprites(List<Sprite> sprites) {
        this.sprites = sprites;
    }

    public Layer() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

}
